package com.zhucan.account.infrastructure.exception;

import java.math.BigDecimal;

/**
 * author: zhuCan
 * date: 2020/8/4 22:01
 * description:
 */
public class AccountNotSufficientFundsException extends RuntimeException {

  public AccountNotSufficientFundsException(BigDecimal balance) {
    super(String.format("余额不足,当前余额为: %s", balance));
  }
}
